package com.vogue.supplymall.order.domain.service;

import com.vogue.supplymall.order.domain.model.OrderBuyer;

/**
 * The interface Order buyer service.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-01-10
 */
public interface OrderBuyerService extends BaseService<OrderBuyer, Long> {

    /**
     * Add order buyer order buyer.
     *
     * @param orderBuyer the order buyer
     * @return the order buyer
     */
    OrderBuyer addOrderBuyer(OrderBuyer orderBuyer);

    /**
     * Gets order buyer by sql.
     *
     * @param orderBuyer the order buyer
     * @return the order buyer by sql
     */
    OrderBuyer getOrderBuyerBySql(OrderBuyer orderBuyer);

    /**
     * Search order buyer by sql order buyer.
     *
     * @param orderBuyer the order buyer
     * @return the order buyer
     */
    OrderBuyer searchOrderBuyerBySql(OrderBuyer orderBuyer);
}
